#include "TypingNotificationEvent.h"

namespace Impp{

// in der TurnEvent.cpp muss nun 'nur' noch der Event Definiert werden:
DEFINE_EVENT_TYPE(EVT_TYPING_NOTIFICATION) 

TypingNotificationEvent::TypingNotificationEvent(Buddy* sender, TypingState state,wxEventType eventType, int id):
	wxNotifyEvent(eventType,id), 
	sender(sender), 
	state(state)
{
}

TypingNotificationEvent::~TypingNotificationEvent()
{
}

wxEvent* TypingNotificationEvent::Clone() const {
	return new TypingNotificationEvent(*this);
}

Buddy* TypingNotificationEvent::getSender(){
	return sender;
}

TypingState TypingNotificationEvent::getState(){
	return state;
}

}

